﻿using H.Eyes.Remotings;
using H.Hands.Remotings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace H.Remotings
{
    /// <summary>
    /// 远程创建对象工厂
    /// </summary>
    public interface IRemotingFactory : IFactory
    {
        /// <summary>
        /// 获取远程创建图色识别对象工厂实例
        /// </summary>
        /// <param name="hostName">远程服务器IP地址或域名</param>
        /// <param name="port">远程服务器端口</param>
        /// <returns>返回远程图色识别对象工厂实例</returns>
        IRemotingEyeFactory GetEyeFactory(string hostName, int port);

        /// <summary>
        /// 获取远程创建键鼠操作对象工厂实例
        /// </summary>
        /// <param name="hostName">远程服务器IP地址或域名</param>
        /// <param name="port">远程服务器端口</param>
        /// <returns>返回远程键鼠操作工厂实例</returns>
        IRemotingHandFactory GetHandFactory(string hostName, int port);
    }
}
